package pers.zhuli.weblog.utils;


public enum ResultCode {
    LOGIN_SUCCESS(11),
    LOGIN_FAIL(10),

    REG_SUCCESS(21),
    REG_FAIL(29),

    SERVER_ERROR(-1),

    GEN_SUCCESS(1),
    GEN_FAIL(0);

    public int code;

    ResultCode(int code) {
        this.code = code;
    }
}
